package xyz.yudan.app.index;

/**
 * Created by gamy on 2018/4/6.
 */
public class UserTaskIndex extends BaseIndex{

    final public class TaskRole {
        final static int NONE = 0; //无
        final static int EXECUTOR = 1; //普通成员
        final static int MANAGER = 2; //创建人
        final static int CREATOR = 3; //管理人
    }

    private String userId = "";
    private String taskId = "";
    private int createTime = 0;
    private int role = TaskRole.NONE;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getCreateTime() {
        return createTime;
    }

    public void setCreateTime(int createTime) {
        this.createTime = createTime;
    }

    public boolean save() {
        return false;
    }

    public boolean delete() {
        return false;
    }
}
